package com.example.demo.controller;

import com.example.demo.VO.DanweixinxiCount;
import com.example.demo.entity.Bumen;
import com.example.demo.mapper.DanweixinxiCount_mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import com.example.demo.utils.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import java.util.List;

@Controller
@RequestMapping("echarts")
public class DanweixinxiCount_Controller extends BasicController<Bumen> {

    @Autowired
    DanweixinxiCount_mapper mapper;

    @RequestMapping("/select")
    public Result selectDanweixinxiCount(){
        List<DanweixinxiCount> list=mapper.selectDanweixinxiCount();
        return Result.ok(list);
    }



}
